Microsoft Windows graphic

Using Shadow Copies of Shared Folders in a server cluster

Shadow Copies of Shared Folders provides point-in-time copies of files that are located on shared resources, such as a file server. You can use Shadow Copies of Shared Folders as part of your overall disaster recovery strategy to quickly recover files that were accidentally deleted or overwritten, as well as to compare different versions of files. However, there are several important considerations to keep in mind if you want to use Shadow Copies of Shared Folders on a cluster disk:

The Volume Shadow Copy Service Task resource type can be used to manage shadow copies in a server cluster. The Volume Shadow Copy Service Task resource used in this way has a required dependency on the Physical Disk resource.

For more information on shadow copies, see Shadow Copies of Shared Folders.

For more information on the Volume Shadow Copy Service Task resource type, see Volume Shadow Copy Service Task resource type.

Best practices for using shadow copies in a cluster

Using Cluster Administrator or cluster.exe to manage shadow copies

Important

For more information on using Cluster Administrator to create a Volume Shadow Copy Service Task resource, see Checklist: Installing a Volume Shadow Copy Service Task resource.

For more information on using cluster.exe to create a Volume Shadow Copy Service Task resource, see Cluster resource.

Enabling shadow copies on a cluster node

When you enable shadow copies on a cluster node (for example, by using the Configure Shadow Copy user interface through the Computer Management MMC ), a Volume Shadow Copy Service Task resource and a scheduled task for creating that shadow copy are automatically generated and configured. You do not need to explicity create the Volume Shadow Copy Service Task resource using Cluster Administrator or cluster.exe. In addition, the Configure Shadow Copy user interface automatically sets up the required resource dependencies. The default properties of the scheduled task and Volume Shadow Copy Service Task resource are described in the table below. For more information, see To enable Shadow Copies of Shared Folders in a cluster.

Scheduled task property Volume Shadow Copy Service Task resource Cluster Administrator property (cluster.exe property) Default setting
Name of task Name of resource (TaskName) ShadowCopyVolume{VolumeGUID}

Note

  • The name of the scheduled task is the same as the name of the Volume Shadow Copy Service Task resource associated with that task.
Run Command to run/Command parameters (ApplicationName/ApplicationParams) %systemroot%\system32\vssadmin.exe Create Shadow /AutoRetry=5 /For=\\?\Volume{VolumeGUID}\

For more information, see Vssadmin.

Creator n/a Cluster service
Start in Start in %systemroot%\system32\
Run as n/a Local System
Schedule Schedule (TriggerArray) The default settings used by Shadow Copies of Shared Folders.

For more information, see Defining a schedule for shadow copies.